<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>作业二</title>
</head>

<body>
    <table border="1">
        <!-- 表头标签 -->
        <thead>
            <tr>
                <td>昵称:</td>
                <td><input type="text" placeholder="请输入昵称"></td>
            </tr>
        </thead>
        <!-- 表主体标签 -->
        <tbody>
            <tr>
                <td>登录名:</td>
                <td><input type="text" placeholder="请输入登录名"></td>
            </tr>

            <tr>
                <td>密码:</td>
                <td><input type="password" name="password"></td>
            </tr>

            <tr>
                <td>确认密码:</td>
                <td><input type="password" name="password"></td>
            </tr>

            <tr>
                <td>性别:</td>
                <!-- 单选框 -->
                <td><input type="radio" name="sex" checked>保密
                    <input type="radio" name="sex">男
                    <input type="radio" name="sex">女
                </td>
            </tr>

            <tr>
                <td>喜欢的水果:</td>
                <!-- 多选框 -->
                <td><input type="checkbox" name="fruits">苹果
                    <input type="checkbox" name="fruits">雪梨
                    <input type="checkbox" name="fruits">芒果
                    <input type="checkbox" name="fruits">香蕉
                    <input type="checkbox" name="fruits">水蜜桃
                </td>
            </tr>

            <tr>
                <td>所在地区:</td>
                <!-- 下拉菜单 -->
                <td>
                    <select>
                        <option>广州</option>
                        <option>四川</option>
                        <option>河南</option>
                    </select>
                </td>
            </tr>

            <tr>
                <td>上传图像:</td>
                <td>
                    <button>
                        <label for="file">选择文件</label>
                        <input type="file" id="file" hidden>
                    </button> 未选择任何文件
                </td>
            </tr>

            <tr>
                <td>个人简介:</td>
                <td>
                    <textarea></textarea>
                </td>
            </tr>

            <tr>
                <td>&nbsp;</td>
                <td><input type="submit" value="提交">
                    <input type="reset" value="重置">
                    <button style="color: red; font-size: larger;">注&nbsp;册</button>
                </td>
            </tr>
        </tbody>
        <!-- 表脚部 -->
        <tfoot></tfoot>
    </table>
</body>

</html>